{template 'header'}
<script type="text/javascript">var module_id= {$moduleid},item_id={$itemid},content_id='content',img_max_width={$MOD[max_width]};</script>
<div class="m" style="margin-top: 10px;">
<div class="m_l f_l">
    <div class="left_box">
        <div class="pos">当前位置: <a href="{$MODULE[1][linkurl]}">首页</a> &raquo; <a href="{$MOD[linkurl]}">{$CAT['catname']}</a><!--$MOD[name] &raquo; {cat_pos($CAT, ' &raquo; ')} --> &raquo; 正文</div>
        <h1 class="title" id="title">{$title}</h1>
        <div class="info">
            <span class="f_r"><img src="{DT_SKIN}image/zoomin.gif" width="16" height="16" alt="放大字体" class="c_p" onclick="fontZoom('+', 'article');"/>&nbsp;&nbsp;<img src="{DT_SKIN}image/zoomout.gif" width="16" height="16"  alt="缩小字体" class="c_p" onclick="fontZoom('-', 'article');"/>
            </span>
            发布日期：{$adddate}
            {if $copyfrom}&nbsp;&nbsp;来源：{if $fromurl}<a href="{$fromurl}" target="_blank">{/if}
            {$copyfrom}
            {if $fromurl}</a>{/if}
            {/if}
            {if $author}&nbsp;&nbsp;作者：{$author}{/if}
            {if $filteraddress}
            &nbsp;&nbsp;&nbsp;&nbsp;地区： <?php $v_filteraddress= preg_replace( "/\(\d+\)/i", "", $filteraddress); ?> 
              <?php echo dsubstr($v_filteraddress, 14, '...');?>
            {/if}
            &nbsp;&nbsp;&nbsp;&nbsp;类别：{$CAT['catname']}
            &nbsp;&nbsp;&nbsp;
            <a href="javascript:Print();">打印本文</a>&nbsp;&nbsp;
            {if $check_login&&$check_user_enable&&$check_article_permision&&$check_clicklimit&&$check_category&&$check_area&&$check_filtercategory&&$check_time}
            <!-- <img src="{DT_SKIN}image/export.jpg"  style="vertical-align:sub;*vertical-align:middle;padding:0 5px;width:21px;height:17px"/> -->
            <a href="{$CFG[url]}zhaobiao/show.php?itemid={$itemid}&action=daochu">
            导出word</a> 
            {/if}
            </span>	
        </div>

        <link rel="stylesheet" type="text/css" href="{DT_SKIN}zbw_new.css"/>

        {if ($item['zp_type'] == 0) }            

        {if !$check_login }  <!--$USER['groupid']-->          
            <div class="zhuce_1">以下内容，仅对会员开放，如需查看详细内容，请先 <a href="/member/register.php" target="_blank" style="color:#F00">注册</a> 成为会员，<br>已注册的会员请 <a href="javascript:;" onclick="gotoLogin();" style="color:#F00">登录</a> 后查看。
            </div>            
            <script type="text/javascript">
                function gotoLogin()  {
                    window.location.href="/member/login.php";
                }
            </script><!-- && !$check_article_permision 以下增加此代码过滤权限判断,yandk_modi_20160807 -->
        {elseif !$check_user_enable }
            <div class="zhuce_1">
                您的账号还没审核通过，<br>请联系客服 <span style="color:red">{$DT[telephone]}</span>。
            </div>
        {elseif !$check_article_permision }
            <div class="zhuce_1">
                以下内容，仅对会员开放，如需查看详细内容，<br>请联系客服 <span style="color:red">{$DT[telephone]}</span>。
            </div>
        {elseif !$check_clicklimit  }
            <div class="zhuce_1">
                今天您超过浏览招标信息， 请会员升级或者与网站管理员联系。
            </div>
        {elseif !$check_category  }
            <div class="zhuce_1">
                您没有权限浏览该招标分类， 请与网站管理员联系。
            </div>
        {elseif !$check_area  }
            <div class="zhuce_1">
                您的服务区域没有权限浏览内容， 请与网站管理员联系。
            </div>
        {elseif !$check_filtercategory }
            <div class="zhuce_1">
                 您没有权限浏览该行业分类， 请与网站管理员联系。
            </div>
        {elseif !$check_time  }
            <div class="zhuce_1">
                您的浏览期间已过期了， 请与网站管理员联系。
            </div>
        {else}
            
            
        <p align="center" style="margin-bottom: 0em;">
            {if $CP}{template 'property', 'chip'}{/if}
                <div id="content">{template 'content', 'chip'}</div>
                {if $voteid}<div class="pd20">{loop $voteid $v}
                {load('vote_'.$v.'.htm')}{/loop}</div>
            {/if}
            
            {if $pages}<div class="pages">{$pages}</div>{/if}

            {if $subtitles}
                <div class="subtitle">
                    <strong>本文导航：</strong>
                    <ul>
                        {loop $titles $i $t}
                            {if $subtitles > $i}
                            <li>
                                ({php echo $i+1;})
                                {if $page == $i+1}
                                    <strong>{$t}</strong>
                                {else}
                                    <a href="{$MOD[linkurl]}{if $i}{itemurl($item, $i+1)}{else}{$item[linkurl]}{/if}" title="{$t}">{$t}</a>
                                {/if}
                            </li>
                            {/if}
                        {/loop}
                    </ul>
                    <div class="c_b"></div>
                </div>
            {/if}
                
            <!--
            {if $keytags}
		<div class="keytags">
                    <strong>关键词：</strong>
                    {loop $keytags $t}
                        <a href="{$MOD[linkurl]}search.php?kw={urlencode($t)}" target="_blank" rel="nofollow">{$t}</a>
                    {/loop}
		</div>
            {/if}
            -->                
                
            {if $MOD[show_np]}
                <div class="np">
		<ul>
                    <li><strong>下一篇：</strong><!--{tag("moduleid=$moduleid&condition=status=3 and addtime>$addtime&areaid=$cityid&pagesize=1&order=addtime asc&template=list-np", -1)}--></li>
                    <li><strong>上一篇：</strong><!--{tag("moduleid=$moduleid&condition=status=3 and addtime<$addtime&areaid=$cityid&pagesize=1&order=addtime desc&template=list-np", -1)}--></li>
		</ul>
		</div>
		<div class="b10">&nbsp;</div>
            {/if}
            
            <center>
                [ <a href="{$MOD[linkurl]}search.php" rel="nofollow">{$MOD[name]}搜索</a> ]&nbsp;
                <!--[ <a href="javascript:SendFav();">加入收藏</a> ]&nbsp;
                [ <a href="javascript:SendPage();">告诉好友</a> ]&nbsp;-->
                [ <a href="javascript:Print();">打印本文</a> ]&nbsp;
                <!--[ <a href="javascript:SendReport();">违规举报</a> ]&nbsp;-->
                [ <a href="javascript:window.close()">关闭窗口</a> ]
               
            </center>	
            <br/>
            {if $MOD[page_srelate]}
		<div class="b10">&nbsp;</div>
		{if $keytags}
                    <div class="left_head"><a href="{$MOD[linkurl]}search.php?kw={urlencode($keytags[0])}" rel="nofollow">同类{$MOD[name]}</a></div>
                    <div class="related"><!--{tag("moduleid=$moduleid&length=44&condition=status=3 and itemid<>$itemid and keyword like '%".$keytags[0]."%'&areaid=$cityid&pagesize=".$MOD[page_srelate]."&order=".$MOD[order]."&cols=2&template=list-table", -2)}--></div>
		{else}
                    <div class="left_head"><a href="{$MOD[linkurl]}{$CAT[linkurl]}">同类{$MOD[name]}</a></div>
                    <div class="related"><!--{tag("moduleid=$moduleid&length=44&catid=$catid&condition=status=3 and itemid!=$itemid&areaid=$cityid&pagesize=".$MOD[page_srelate]."&order=".$MOD[order]."&cols=2&template=list-table", -2)}--></div>
		{/if}
            {/if}
            {template 'comment', 'chip'}
            <br/>
	{/if} 
    {/if}<!--用户是否登录的判断 yandk_modi_20160803--> 	
  </div>
</div>
<div class="m_n f_l">&nbsp;</div>
<div class="m_r f_l">
</div>
</div>
{if $content}<script type="text/javascript" src="{DT_STATIC}file/script/content.js"></script>{/if}
{template 'footer_xq'}
